<?php

class UploadAction extends Action {

	public function index(){
		$this->display();
	}


	public function returnAjax(){
		$content = $_POST['content'];

		$dump($content) ;

		$DAO = new Model("news") ;

		$data["title"] = "测试" ;
		$data["content"] = "333";
		$data["module"] = "关于我们" ;
		$data["status"] = 1 ;

		$result = $DAO->add($data);
		$this->ajaxReturn("111111","OK！",1);


	}

}

?>